<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  
</body>
</html>

<script type="module">
import { Students } from './utililty.js';

// console.log(Students);

const school2205 = [
  { name: '恒奥01', age: 21, home: '淄博-1' },
  { name: '恒奥02', age: 21, home: '淄博-2' },
  { name: '恒奥03', age: 21, home: '淄博-3' },
  { name: '恒奥04', age: 21, home: '淄博-4' },
  { name: '恒奥05', age: 21, home: '淄博-5' },
  { name: '恒奥06', age: 21, home: '淄博-6' },
]
const o = new Students(school2205);
console.log(o.getPerson('恒奥01') );
console.log(o.getPerson('恒奥03') );

// -> { name: '恒奥01', age: 21, home: '淄博-1' }

</script>